#include <QCoreApplication>


#include "mythread.h"

#include <QObject>
#include <QTimer>
#include <QDebug>

#include "testa.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

#if 0

    TestA testA;
    testA.start();
    QTimer::singleShot( 25000,  &testA, SLOT(goHome()) );

#else
    mythread thread( 1000 );
    thread.start();
#endif

    qDebug()<<"xxxxxxxxx";
    return a.exec();
}
